package June02;

public class T02Lecturer extends T02Teacher{
    private String duty;

    public T02Lecturer() {
    }

    public T02Lecturer(String name, Integer id, double salary, String work, double vacation, String student, String duty) {
        super(name, id, salary, work, vacation, student);
        this.duty = duty;
    }

    @Override
    public String toString() {
        return super.toString()+"\t职务:"+duty+"}";
    }
}
